package service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import service.MedicalDeviceService;
import dao.MedicalDeviceMapper;
import java.util.List;
import pojo.MedicalDevice; // 假设你有一个MedicalDevice模型类

@Service // 添加此注解以标识为Spring管理的服务
public class MedicalDeviceServiceImpl implements MedicalDeviceService {

    @Autowired
    private MedicalDeviceMapper medicalDeviceMapper;

    @Override
    public List<MedicalDevice> findAllMedicalDevice() {
        return medicalDeviceMapper.findAllMedicalDevice();
    }
}